package com.stores.v1.toolset;

import java.sql.Connection;
import java.sql.SQLException;

public interface IDatabase {
	String getDatabaseName();

	void setDatabaseName();

	String buildConnectionString();

	Connection getOpenConnection() throws DatabaseInitializationException;

	void closeConnection(Connection connection) throws SQLException;

	String getConnectionString();

	void setConnectionString(String connectionString);

	String getServer();

	void setServer(String server);
	
	String getDriver();

	void setDriver(String driver);

	String getDatabase();

	void setDatabase(String database);

	String getUsername();

	void setUsername(String username);

	String getPassword();

	void setPassword(String password);

}